Skip to content

Add Support for / in handler name #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Add Support for / in handler name #44

wants to merge 3 commits into from

Conversation

preearor
Copy link
Contributor

#43

  • Support for / in handler name
  • Added test for the same
  • Updated to get the module name to check for builtin module even if customer gives handler name with (a.b.module_name)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@SukanyaHanumanthu SukanyaHanumanthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@keshayad keshayad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

if modname.split(".")[0] in sys.builtin_module_names:
if modname.split(".")[-1] in sys.builtin_module_names:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be good to cover this in the test suites too

@preearor
Copy link
Contributor Author

Raising another PR, to add test cases and revert the check for built-in module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants